package com.xiaoyu.lanling.feature.chat.adapter

import com.xiaoyu.base.view.list.util.diff.BaseDiffAdapter
import com.xiaoyu.base.view.list.util.diff.BaseDiffCallback
import com.xiaoyu.lanling.feature.chat.model.message.ChatMessageBaseItem
import com.xiaoyu.lanling.feature.chat.util.MessageDiffCallback

class ChatMessageAdapter : BaseDiffAdapter<ChatMessageBaseItem>() {

    override fun createDiffCallBack(oldList: List<ChatMessageBaseItem>, newList: List<ChatMessageBaseItem>): BaseDiffCallback<ChatMessageBaseItem> {
        return MessageDiffCallback(oldList, newList)
    }
}